import {http} from "../httpConfig";

export const logInApi = (params) => {
    return http.post('/admin/logIn', params).then(
        response => {
            return response
        }
    )
}
export const registerApi = (params) => {
    return http.post('/admin/register', params).then(
        response => {
            return response
        }
    )
}

export const changePasswordApi = (params) => {
    return http.post('/admin/changePassword', params).then(
        response => {
            return response
        }
    )
}